
import {requestMock} from './index'

requestMock.interceptors.request.use((config)=>{
    return config;
});

requestMock.interceptors.response.use((response)=>{
    return response.data.data
},(error)=>{
    return Promise.reject(error);
})

export default requestMock;